package io.renren.modules.app.service;



import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.app.entity.BsBookEntity;
import io.renren.modules.app.entity.BsBookcategoryEntity;
import io.renren.modules.app.entity.CountBookNumVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * 图书表
 *
 * @author zwl
 * @email ${email}
 * @date 2024-01-01 16:55:09
 */
public interface BsBookService extends IService<BsBookEntity> {

    PageUtils queryPage(Map<String, Object> params, HttpServletRequest request);

    List<BsBookcategoryEntity> getBookcatename();

    void saveBook(BsBookEntity bsBook);

    String bookUpload(MultipartFile file);

    BsBookEntity queryById(Integer id, HttpServletRequest request);

    void updateBookById(BsBookEntity bsBook);

    List<CountBookNumVo> countBookNum();

    List<CountBookNumVo> countBookCert();

}

